package com.suixun.entity.credits;

import java.io.Serializable;
import java.util.Date;

/**
 * 积分记录(明细)
 * @author yh
 * @date 2017年11月16日
 */
public class CreditReord implements Serializable {

    private static final long serialVersionUID = -8003737794072540549L;

    private Integer id;

    /**
     * 积分用户表id（jf_people）
     */
    private Integer peopleId;

    /**
     * 积分任务id
     */
    private Integer creditTaskId;

    /**
     * 操作完成时间
     */
    private Date doTime;

    /**
     * 用户当前操作的总余额(积分)，消费减，获取增
     */
    private Integer currentBalance;

    /**
     * 当前操作积分,获取为正数,消费为负数
     */
    private Integer creditNum;

    /**
     * 统计当前累计领取积分
     */
    private Integer cumulativeCollection;

    /**
     * 消费id，对应的credit_num为负数
     */
    private Integer consumeId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPeopleId() {
        return peopleId;
    }

    public void setPeopleId(Integer peopleId) {
        this.peopleId = peopleId;
    }

    public Integer getCreditTaskId() {
        return creditTaskId;
    }

    public void setCreditTaskId(Integer creditTaskId) {
        this.creditTaskId = creditTaskId;
    }

    public Date getDoTime() {
        return doTime;
    }

    public void setDoTime(Date doTime) {
        this.doTime = doTime;
    }

    public Integer getCurrentBalance() {
        return currentBalance;
    }

    public void setCurrentBalance(Integer currentBalance) {
        this.currentBalance = currentBalance;
    }

    public Integer getCreditNum() {
        return creditNum;
    }

    public void setCreditNum(Integer creditNum) {
        this.creditNum = creditNum;
    }

    public Integer getCumulativeCollection() {
        return cumulativeCollection;
    }

    public void setCumulativeCollection(Integer cumulativeCollection) {
        this.cumulativeCollection = cumulativeCollection;
    }

    public Integer getConsumeId() {
        return consumeId;
    }

    public void setConsumeId(Integer consumeId) {
        this.consumeId = consumeId;
    }
    
}